package com.supor.aiot.food.api;

import com.android.baseconfig.base.BaseApiResult;
import com.supor.aiot.common.app.Constants;
import com.supor.aiot.food.bean.RecipeThumbsBean;
import com.supor.md_video.entity.VideoCommThumbsBean;

import io.reactivex.rxjava3.core.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Path;

/**
 * @author: zook
 * @date: 2021/11/4
 */
public interface FoodService {

    @POST(Constants.OSS_API + "bossTPublicLike")
    Observable<BaseApiResult<RecipeThumbsBean>> recipeThumbs(
            @Body RequestBody requestBody
    );

    @POST(Constants.OSS_API + "bossTPublicLike/del/{id}")
    Observable<BaseApiResult<String>> recipeThumbsDel(@Path("id") String id);
}
